﻿package com.flashlit.shared.component
{
	import flash.text.TextFormat;
	import mx.core.UITextField;
	
	/**
	 * This class provides a simple workaround to let you set
	 * the <code.styleSheet</code> property of a TextArea control.
	 */	
	public class StyledUITextField extends UITextField
	{
		/**
		 * Overrides the <code>UITextField.getTextStyles()</code>
		 * method to retrieve the current TextFormat object.
		 */
		override public function getTextStyles():TextFormat
		{
			return getTextFormat();
		}
	}
}
